﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 出差预支申请单
    /// 版 本：V2.6.200612
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-07-17 
    /// </summary>
    [Table("WFORM_TRAVELAPPLY")]
    public class TravelApplyEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 流程主键
        /// </summary>
        [Column("F_FLOWID")]
        public string FlowId { get; set; }
        /// <summary>
        /// 流程标题
        /// </summary>
        [Column("F_FLOWTITLE")]
        public string FlowTitle { get; set; }
        /// <summary>
        /// 紧急程度
        /// </summary>
        [Column("F_FLOWURGENT")]
        public int? FlowUrgent { get; set; }
        /// <summary>
        /// 流程单据
        /// </summary>
        [Column("F_BILLNO")]
        public string BillNo { get; set; }
        /// <summary>
        /// 出差人
        /// </summary>
        [Column("F_TRAVELMAN")]
        public string TravelMan { get; set; }
        /// <summary>
        /// 申请日期
        /// </summary>
        [Column("F_APPLYDATE")]
        public DateTime? ApplyDate { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        [Column("F_DEPARTMENTAL")]
        public string Departmental { get; set; }
        /// <summary>
        /// 所属职务
        /// </summary>
        [Column("F_POSITION")]
        public string Position { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        [Column("F_STARTDATE")]
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        [Column("F_ENDDATE")]
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 起始地点
        /// </summary>
        [Column("F_STARTPLACE")]
        public string StartPlace { get; set; }
        /// <summary>
        /// 目的地
        /// </summary>
        [Column("F_DESTINATION")]
        public string Destination { get; set; }
        /// <summary>
        /// 预支旅费
        /// </summary>
        [Column("F_PREPAIDTRAVEL")]
        public decimal? PrepaidTravel { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
    }
}
